[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SOUND IEXP
Function
Turn on the speaker on the local computer at a specific frequency.
Syntax
SOUND freq
freq - An integer expression (1-65535) with the frequency (in hertz)
at which to turn on the speaker or 0 to turn off the speaker.
Remarks
This statement can be used to generate just about any tone desired on
the speaker on the local PC. It has no effect on the remote computer and
will only work with the built in speaker (in other words, it has no way
of communicating with advanced sound cards). You specify the frequency
of the tone you wish to generate in hertz and pass it to the statement,
or pass 0 to turn off the speaker.
Examples
PAGEON
FOR i = 1 TO 10
MPRINT CHR(7)
SOUND 440
DELAY 9
SOUND 0
DELAY 9
IF (KINKEY() = " ") THEN
CHAT
GOTO exit
ENDIF
NEXT
:exit
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson